package com.example.diarymanger.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.diarymanger.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<UserBean> {

    @Select("select max(uid) from user")
    Integer selectMaxUid();


}
